package com.dormitory.management.system.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("用户信息API")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfoApi {
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("账号")
    private String username;
    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("状态（0：正常，1：禁用）")
    private String statusId;

    @ApiModelProperty("角色昵称")
    private String roleName;

    @ApiModelProperty("角色类型")
    private String roleKey;

}
